However, if you're trying to modify the Confidential extension so that it adds to the Page Setup dialog, you have a bit more work to do. In addition to changing the 'over' resource, the Forward_Job call, and the name of the override function, you have to make changes to the code that adds the tag to the collection item.
The override calls a routine called SetUpPrintPanel() to add a new CollectionItem to the Job to store the confidential stamp information.
Since you want to change the extension so that it adds to the Page Setup dialog, you have to change this routine so that it adds the Collection to the Job's default Format object. Similarly, you have to change theGetStamp() routine so that it gets. Finally, you have to repeat all of these steps to add the panel to the Custom Page Setup dialog.
There is also another way that you can test your PageSetup panel. It is
possible for an application to add a PageSetup or CustomPageSetup override.
There are examples (Experiment no.9 and Banana Jr.) on the QuickDraw GX SDK
that demonstrate the latter. You might try adding your flipping code to one of
these.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help